<template>
    <div>
        <div class="order_num">
            <div class="order_car_pic">
                <div class="order_car_time">2022-01-21</div>
                <img src="../img/开花馒头.jpg" alt="" class='order_carimg'/>
            </div>
            <div class="order_car_msg">
                <div class="order_car_name">大众朗逸</div>
                <div className="cz_zn">出租中</div>
                <div class="car_details">三厢|1.6|自动|乘坐5人</div>
            </div>
            <el-button type="warning">查看订单</el-button>
        </div>
        <div class="order_num">
            <div class="order_car_pic">
                <div class="order_car_time">2010-10-21</div>
                <img src="../img/开花馒头.jpg" alt="" class='order_carimg'/>
            </div>
            <div class="order_car_msg">
                <div class="order_car_name">奔驰</div>
                <div className="cz_zn">租赁中</div>
                <div class="car_details">三厢|1.6|自动|乘坐5人</div>
            </div>
            <el-button type="warning">查看订单</el-button>
        </div>        
        <div class="order_num"></div>
    </div>
</template>
<!-- <script setup>
    import {reactive} from "vue"
    let order_cars=reactive([
        {
            order_car_times:2022/01/29,
            order_car_names:"大众朗逸",
            car_detailss:"三厢|1.6|自动|乘坐5人"
        },
        {
            order_car_times:2021/11/02,
            order_car_names:"奔驰",
            car_detailss:"三厢|2.0|自动|乘坐5人"
        },
        {
            order_car_times:2021/6/21,
            order_car_names:"大众宝马朗逸",
            car_detailss:"三厢|2.0|自动|乘坐5人"
        }
    ])
</script> -->

<style scoped lang="scss">
    .order_num {
        width: 900px;
        height: 130px;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        border: 2px solid rgb(231, 246, 252);
        background-color: rgb(231, 246, 252);
        border-radius: 5px;
        padding-left: 10px;
        // background-color: coral;

        .order_car_pic {
            height: 100%;
            
            .order_car_time {
                margin-top: 5px;
                font-size: 14px;
                color: rgb(117, 117, 116);

            }
            .order_carimg {
            width: 130px;
            height: 80px;
            float: left;
            margin-top: 14px;
            border-radius: 10px;
        }
        }
        
        .order_car_msg {
            height: 80px;
            margin-top: 25px;
            margin-left: 10px;
            float: left;
            // background-color: cornflowerblue;
            .order_car_name {
                margin-top: 5px;
            }
            .cz_zn {
                font-size: 14px;
                margin-top: 5px;
                color: rgb(117, 117, 116);
                display: inline-block;
            }
            .car_details {
                margin-top: 5px;
                font-size: 14px;
                color: rgb(117, 117, 116);
            }
        }
    }
    .el-button--warning {
    --el-button-bg-color: rgb(101, 207, 131);
    ;
    --el-button-hover-bg-color: rgb(101, 207, 131);
    --el-button-border-color: rgb(101, 207, 131);
    ;
    --el-button-hover-border-color: rgb(101, 207, 131);
    ;
    --el-button-active-border-color: rgb(86, 177, 86);
    --el-button-active-bg-color: rgb(86, 177, 86);
    // margin-top: 30px;
    margin-left: 500px;
    width: 80px;
    height: 40px;
}
</style>